package com.hdoit.ares.logical.personnel.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OrderBy;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.tennetcn.common.enums.pub.OrderByEnum;
import com.tennetcn.common.message.AuthorityEmployee;

/**
 * @author      caochengmeng
 * @email       
 * @createtime  2017年11月15日 10:09:24
 * @comment
 */
@Alias("personnel")
@Entity
@Table(name = "comp_personnel")
public class Personnel extends AuthorityEmployee {

	@Id
	@Column(name="employeeId")
	private String employeeId;
	
	// 生日
	@Column(name = "birthday")
	private Date birthday;

	// 加入时间
	@OrderBy(value = OrderByEnum.desc)
	@Column(name = "joinUsDate")
	private Date joinUsDate;

	// 工作职责
	@Column(name = "jobDuty")
	private String jobDuty;

	// 现居住地址
	@Column(name = "liveAddress")
	private String liveAddress;

	// 户籍省份
	@Column(name = "nativeProvince")
	private String nativeProvince;

	// 户籍城市
	@Column(name = "nativeCity")
	private String nativeCity;

	// 身份证号
	@Column(name = "idCard")
	private String idCard;

	// qq号码
	@Column(name = "qq")
	private String qq;
	
	// 备注
	@Column(name = "userMark")
	private String userMark;

	@Column(name="markCode")
	private String markCode;
	
	//省份id
    @Column(name="provinceId")
    private String provinceId;
    
    //城市id
    @Column(name="cityId")
    private String cityId;
    
    
    //区县id
    @Column(name="districtId")
    private String districtId;
	
	public String getMarkCode() {
		return markCode;
	}

	public void setMarkCode(String markCode) {
		this.markCode = markCode;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getJoinUsDate() {
		return joinUsDate;
	}

	public void setJoinUsDate(Date joinUsDate) {
		this.joinUsDate = joinUsDate;
	}

	public String getJobDuty() {
		return jobDuty;
	}

	public void setJobDuty(String jobDuty) {
		this.jobDuty = jobDuty;
	}

	public String getLiveAddress() {
		return liveAddress;
	}

	public void setLiveAddress(String liveAddress) {
		this.liveAddress = liveAddress;
	}

	public String getNativeProvince() {
		return nativeProvince;
	}

	public void setNativeProvince(String nativeProvince) {
		this.nativeProvince = nativeProvince;
	}

	public String getNativeCity() {
		return nativeCity;
	}

	public void setNativeCity(String nativeCity) {
		this.nativeCity = nativeCity;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getUserMark() {
		return userMark;
	}

	public void setUserMark(String userMark) {
		this.userMark = userMark;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getDistrictId() {
		return districtId;
	}

	public void setDistrictId(String districtId) {
		this.districtId = districtId;
	}
	
}
